import java.rmi.Remote;
import java.rmi.RemoteException;

public interface BanqueInterface extends Remote {

	Compte ouvrirCompte(String nom, String password) throws RemoteException;
	
	boolean verifie(String nom) throws RemoteException;
	
	int fermerCompte(String nom, String password) throws RemoteException;
	
	void deposer(double somme, Compte c) throws RemoteException;
		
	void retirer(double somme, Compte c) throws RemoteException;

	double solde(Compte c) throws RemoteException;
	
}
